package com.huluobo.kotlinshop

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

abstract class BaseActivity:AppCompatActivity(){
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(getLayoutResId())

        initView()

    }

    open fun initView(){

    }

    abstract fun getLayoutResId(): Int
}